﻿using System.Net;

namespace Xfs
{
	// 知道对方的instanceId，使用这个类发actor消息
	public struct XfsActorMessageSender
	{
		// actor的地址
		//public IPEndPoint Address ;

		public long ActorId;

		public XfsSession Session;

		//public IPEndPoint? Address { get; set; }

		//public long ActorId { get; set; }

		//public XfsSession? Session { get; set; }

		//public XfsActorMessageSender(long actorId, IPEndPoint address)
		//{
		//	//this.ActorId = actorId;
		//	//this.Address = address;
		//}

		public XfsActorMessageSender(long actorId, XfsSession session)
		{
            this.ActorId = actorId;
            this.Session = session;
        }

	}
}